package com.doit.day01;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashSet;

public class _02_for循环 {

    public Connection getMysql() throws SQLException {
        return DriverManager.getConnection("", "", "");

    }


    public static void main(String[] args) {



        int [] arr = {1,2,3,4,5,6,7,8,9};

        //增强for循环   迭代器  ==》 可迭代得  iterable   iterator
        for (int i : arr) {
            System.out.println(i);
        }


    }
}
